package com.tanglongan.concurrent._basic;

public class Demo02 {

    public static void main(String[] args) {
        Thread t = new Demo02Thread();
        t.start();
        System.out.println("运行了main方法");
    }

}

class Demo02Thread extends Thread {
    @Override
    public void run() {
        System.out.println("运行了run()方法");
    }
}